package com.kinyx.framework.db.vo;

import com.kinyx.framework.db.defines.INamingStrategy;

import lombok.Getter;
import lombok.ToString;

/**
 * 映射表信息
 */
@Getter
@ToString(callSuper = true)
public class TableInfo extends MappingInfo {

	public TableInfo(final Class<?> mappingClass, final INamingStrategy namingStrategy) {
		super(mappingClass, namingStrategy);

		this.getColumnInfos().forEach(columnInfo -> {
			// 字段初始化
			columnInfo.init();
		});
	}

}
